package com.ansion.preference;

import android.content.SharedPreferences;

public interface ITurboBasePreference {

    boolean putFloat(String key, float value);

    float getFloat(String key, float defValue);

    boolean putInt(String key, int value);

    int getInt(String key, int defValue);

    boolean putLong(String key, long value);

    long getLong(String key, long defValue);

    boolean putString(String key, String value);

    String getString(String key, String defValue);

    boolean putBoolean(String key, boolean value);

    boolean getBoolean(String key, boolean defValue);

    boolean contains(String key);

    void remove(String key);

    String[] getAllKeys();

    SharedPreferences.Editor getEditor();

    void clear();
}
